Observer

A common interface for all event observers.

Parameters

<T>

the event type

Functions

Link copied to clipboard
abstract fun on(event: T)
Invoked when the event occurred.